package io.github.topcatv.mall.model.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.github.topcatv.mall.model.sys.entity.Permission;
import io.github.topcatv.mall.model.sys.mapper.PermissionMapper;
import io.github.topcatv.mall.model.sys.service.IPermissionService;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liuyi
 * @since 2019-10-14
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {

    @Override
    public Set<Permission> selectByUserId(Integer id) {
        return baseMapper.selectByUserId(id);
    }
}
